﻿<%@ Page Title="" Language="C#" MasterPageFile="~/SubForm.Master" AutoEventWireup="true"
    CodeBehind="FeedbackHistoryList.aspx.cs" Inherits="PreContractWeb.Task.FeedbackHistoryList" %>

<%@ Register Src="../UserControl/Pager.ascx" TagName="Pager" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <br />
    <div class="panel_body_wicr" style="min-width: 980px;">
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td>
                    <table width="100%" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td class="panel_header" colspan="6">
                                预合同基本信息(Basic Information)
                            </td>
                        </tr>
                        <tr>
                            <td align="left" valign="middle">
                                &nbsp;&nbsp; 预合同编号:
                                <br />
                                &nbsp;&nbsp; PreContractNo:
                            </td>
                            <td align="left" valign="middle">
                                <asp:Label ID="lblPreContractNo" runat="server" ForeColor="Blue" />
                            </td>
                            <td align="left" valign="middle">
                                合同类型:
                                <br />
                                Contract Type:
                            </td>
                            <td align="left" valign="middle">
                                <asp:Label ID="lblContractType" runat="server" />
                            </td>
                            <td align="left" valign="middle">
                                合同名称:<br />
                                PreContractName:
                            </td>
                            <td align="left" valign="middle">
                                <asp:Label ID="lblPreContractName" runat="server" />
                            </td>
                        </tr>
                        <tr>
                            <td colspan="6" align="right" height="1" valign="middle" style="border-top: 1px;
                                border-top-color: #BBBBBB; border-top-style: dashed; font-size: xx-small;">
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td align="left" valign="middle">
                                &nbsp;&nbsp; 产品:<br />
                                &nbsp;&nbsp;ProductName:
                            </td>
                            <td align="left" valign="middle">
                                <asp:Label ID="lblProductName" runat="server" />
                            </td>
                            <td align="left" valign="middle">
                                Cygnus 金额 (ME):<br />
                                Cygnus Amount:
                            </td>
                            <td align="left" valign="middle">
                                <asp:Label ID="lblCygnusAmount" runat="server" />
                            </td>
                            <td align="left" valign="middle">
                                Origon 金额 (ME):<br />
                                Origon Amount:
                            </td>
                            <td align="left" valign="middle">
                                <asp:Label ID="lblOrigonAmout" runat="server" />
                            </td>
                        </tr>
                        <tr>
                            <td align="right" colspan="6" height="1" valign="middle" style="border-top: 1px;
                                border-top-color: #BBBBBB; border-top-style: dashed; font-size: xx-small;">
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td align="left" valign="middle">
                                &nbsp;&nbsp; Cygnus 转正时间:<br />
                                &nbsp;&nbsp; Cygnus Transferred Date:
                            </td>
                            <td align="left" valign="middle">
                                <asp:Label ID="lblCygnusTransferredDate" runat="server" />
                            </td>
                            <td align="left" valign="middle">
                                Origon 转正时间:<br />
                                Origon Transferred Date:
                            </td>
                            <td align="left" valign="middle">
                                <asp:Label ID="lblOrigonTrabsferredDate" runat="server" />
                            </td>
                            <td align="left" valign="middle">
                                订单确认时间:<br />
                                ERPReceived Date:
                            </td>
                            <td align="left" valign="middle">
                                <asp:Label ID="lblERPReceivedDate" runat="server" />
                            </td>
                        </tr>
                        <tr>
                            <td align="right" colspan="6" height="1" valign="middle" style="border-top: 1px;
                                border-top-color: #BBBBBB; border-top-style: dashed; font-size: xx-small;">
                                &nbsp;
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td>
                    <table width="100%" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                            <td class="panel_header">
                                预合同反馈的历史记录：
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:GridView ID="gvFeedback" runat="server" PageSize="10" AutoGenerateColumns="False"
                                    Width="100%" DataKeyNames="ID" AllowPaging="True" OnRowCommand="gvFeedback_RowCommand">
                                    <PagerSettings Visible="False"></PagerSettings>
                                    <EmptyDataTemplate>
                                        <table border="0" cellpadding="0" cellspacing="0">
                                            <tr>
                                                <td>
                                                    没有数据(No Data).
                                                </td>
                                            </tr>
                                        </table>
                                    </EmptyDataTemplate>
                                    <RowStyle Height="20px" CssClass="table_row_1"></RowStyle>
                                    <SelectedRowStyle CssClass="SelectedRow"></SelectedRowStyle>
                                    <HeaderStyle CssClass="table_header"></HeaderStyle>
                                    <AlternatingRowStyle CssClass="table_row_2"></AlternatingRowStyle>
                                    <Columns>
                                        <asp:BoundField HtmlEncode="False" DataField="ID" HeaderText="反馈编号">
                                            <ItemStyle CssClass="hidden"></ItemStyle>
                                            <HeaderStyle CssClass="hidden" Wrap="False"></HeaderStyle>
                                            <FooterStyle CssClass="hidden"></FooterStyle>
                                        </asp:BoundField>
                                        <asp:BoundField HtmlEncode="False" DataField="SignType" HeaderText="签约方式">
                                            <ItemStyle HorizontalAlign="Center" Width="60px"></ItemStyle>
                                        </asp:BoundField>
                                        <asp:BoundField HtmlEncode="False" DataField="TreatmentWay" HeaderText="处理方式">
                                            <ItemStyle HorizontalAlign="Center" Width="60px"></ItemStyle>
                                        </asp:BoundField>
                                        <asp:BoundField HtmlEncode="False" DataField="OperationDate" HeaderText="处理日期" DataFormatString="{0:yyyy-MM-dd}">
                                            <ItemStyle HorizontalAlign="Center" Width="70px"></ItemStyle>
                                        </asp:BoundField>
                                        <asp:BoundField HtmlEncode="False" DataField="InvoiceStatus" HeaderText="到货当季能否开票">
                                            <ItemStyle HorizontalAlign="Center" Width="80px"></ItemStyle>
                                        </asp:BoundField>
                                        <asp:BoundField HtmlEncode="False" DataField="CancelProcess" HeaderText="取消进展">
                                            <ItemStyle HorizontalAlign="Center" Width="80px"></ItemStyle>
                                        </asp:BoundField>
                                        <asp:BoundField HtmlEncode="False" DataField="ProblemLV1" HeaderText="问题分类一级">
                                            <ItemStyle HorizontalAlign="Center" Width="100px"></ItemStyle>
                                        </asp:BoundField>
                                        <asp:BoundField HtmlEncode="False" DataField="ProblemLV2" HeaderText="问题分类二级">
                                            <ItemStyle HorizontalAlign="Center" Width="120px"></ItemStyle>
                                        </asp:BoundField>
                                        <asp:BoundField HtmlEncode="False" DataField="DashboardIssueType" HeaderText="Dashboard Issue分类">
                                            <ItemStyle HorizontalAlign="Center" Width="120px"></ItemStyle>
                                        </asp:BoundField>
                                        <asp:BoundField HtmlEncode="False" DataField="PeopleInCharge" HeaderText="当前负责人">
                                            <ItemStyle HorizontalAlign="Center" Width="100px" CssClass="tdOver"></ItemStyle>
                                        </asp:BoundField>
                                        <asp:BoundField HtmlEncode="False" DataField="Comments" HeaderText="其他说明">
                                            <ItemStyle HorizontalAlign="Center" Width="160px" CssClass="tdOver" />
                                        </asp:BoundField>
                                        <asp:BoundField HtmlEncode="False" DataField="EName" HeaderText="创建人">
                                            <ItemStyle HorizontalAlign="Center" Width="70px"></ItemStyle>
                                        </asp:BoundField>
                                        <asp:BoundField HtmlEncode="False" DataField="CreateTime" HeaderText="创建时间" DataFormatString="{0:yyyy-MM-dd}">
                                            <ItemStyle HorizontalAlign="Center" Width="70px"></ItemStyle>
                                        </asp:BoundField>
                                        <asp:TemplateField HeaderText="操作">
                                            <ItemTemplate>
                                                <asp:Button ID="btnDelete" runat="server" Text="删除" CommandName="DeleteRow" CommandArgument="<%# ((GridViewRow) Container).RowIndex %>"
                                                    OnClientClick="return confirm('Are you sure to delete?')" />
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                    </Columns>
                                </asp:GridView>
                                <uc1:Pager ID="pgFeedback" runat="server" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </div>
</asp:Content>
